package com.duwei.ttt;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class AspectBean {

    @Before("execution(public void com.duwei.ttt.OrderService.test())")
    public void testBefore(JoinPoint joinPoint){
        System.out.println("我是before");


    }



}
